<?php
use think\facade\Route;

Route::group('',function(){
    Route::get("index/getIndex","api/index/index");
    Route::post("index/upload","api/index/upload");
})->middleware('app\middleware\CorsMiddleware');
